package com.wenkaihu.android.chess.model;

import java.io.Serializable;

public class PaceblePoint implements Serializable {

	private static final long serialVersionUID = 4318259415691828680L;
	
	private int pointx;
	private int pointy;
	private long sendTime;
	private String userID;

	public PaceblePoint(){
	}
	
	public PaceblePoint(int x, int y, long sendtime, String userId){
		this.pointx = x;
		this.pointy = y;
		this.sendTime = sendtime;
		this.userID = userId;
	}
	
	// get/set method
	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

	public int getPointx() {
		return pointx;
	}

	public void setPointx(int pointx) {
		this.pointx = pointx;
	}

	public int getPointy() {
		return pointy;
	}

	public void setPointy(int pointy) {
		this.pointy = pointy;
	}

	public long getSendTime() {
		return sendTime;
	}

	public void setSendTime(long sendTime) {
		this.sendTime = sendTime;
	}

	public String toString(){
		return "{ pointX = " + pointx 
			 + "; pointY = " + pointy 
			 + "; sendTime = " + sendTime 
			 + "; userId = " + userID + " }";
	}
}
